package com.dyava.commons.lang;

import java.util.Calendar;
import java.util.Date;

/**
 * Created by jjliu on 2017/10/13.
 */
public class DateUtils extends org.apache.commons.lang3.time.DateUtils {

    public static Date today(){
        return truncate(new Date(), Calendar.DATE);
    }
    public static Date yesterday(){
        return addDays(today(), -1);
    }
    public static Date tomorrow(){
        return addDays(today(), 1);
    }


}
